//
//  TPPhotoBrowserFlowLayout.m
//  美丽说图片浏览器
//
//  Created by 唐鹏 on 16/7/13.
//  Copyright © 2016年 tangpeng. All rights reserved.
//

#import "TPPhotoBrowserFlowLayout.h"

@implementation TPPhotoBrowserFlowLayout

- (void)prepareLayout{
    [super prepareLayout];
    
    self.itemSize = self.collectionView.bounds.size;
    self.minimumInteritemSpacing = 0;
    self.minimumLineSpacing = 0;
    
    self.collectionView.pagingEnabled = YES;
    self.collectionView.showsHorizontalScrollIndicator = NO;
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    
}

@end
